package com.kgc.ljp.server.dao;

import com.kgc.ljp.server.entity.Admin;
import com.kgc.ljp.server.entity.HeroClass;
import com.kgc.ljp.server.entity.JuQingPoint;

public interface AdminDao {
    /**
     * 注册
     * @param admin
     * @return
     */
    boolean regiest(Admin admin);

    /**
     * 添加卡片
     * @param heroClass
     * @return
     */
    boolean addCard(HeroClass heroClass);

    /**
     * 修改卡片
     * @param cardName
     * @return
     */
    boolean updateCard(String cardName);

    /**
     * 添加地图
     * @param juQingPoint
     * @return
     */
    boolean addMap(JuQingPoint juQingPoint);

    /**
     * 删除用户
     * @param userName
     * @return
     */
    boolean deleteUser(String userName);
}
